import axios from './index'

export const getLogin = async (obj: any) => {
  let arr = await axios.post('/login', obj)
  // console.log(arr)
  return arr
}

export const changeTab = async (type: any) => {
  // console.log(type);
  let arr = await axios.post('/changeTab', { type: type.title })
  // console.log(arr)
  return arr
}


export const getfloorLeft = async () => {
  let arr = await axios.get('/getfloorLeft')
  // console.log(arr);
  return arr
}

export const getfloorRight = async () => {
  let arr = await axios.get('/getfloorRight')
  // console.log(arr);
  return arr
}




<<<<<<< HEAD
=======


>>>>>>> 4f74775fa7ff1ba00b67e754027806fe8ea8b13b
